Variable Syntax

Variables or arrays only have one tag that describes their structure. The <INFO> tag has a varType attribute which identifies the type of variable it is - "NUMERIC" or "TEXT". String variables will need an additional strLen attribute that will specify the length of the string. Numeric variables will need a decs attribute to specify how many decimal places the variable has. The dim1 and dim2 attributes specify the dimensions of the variable or array. Here is an example of the Cost_Less_Tax variable found in the Expenses sample:

<?xml version="1.0"?>
<XRKB>
  <OBJECT name="Cost_less_tax" type="VARIABLE" category="Variables">
    <INFO varType="NUMERIC" dim1="1" dim2="1" decs="0"/>
  </OBJECT>
</XRKB>